﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EYS_XDJS.aspx.cs" Inherits="SkWeb.XDJS.EYS_XDJS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>213压力起爆器作业参数计算</title>
    <link href="../css/adminCss.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table class="condTable" style="width:600px; height:400px; " >
        <tr style="height:50px;background-color:#82D1E7;">
            <td colspan="3" align="center" style="font-size:14px; font-weight:bold;">压力起爆器作业参数计算</td>
        </tr>
        <tr style="height:40px;BACKGROUND-COLOR: #ECF9FC;">
            <td align="center" width="40%" style="font-size:13px; font-weight:bold;"  >↓计算结果</td>
           <td align="center" width="60%" style="font-size:12px; font-weight:bold;" colspan="2">请输入数据</td>
        </tr>
        <tr style="BACKGROUND-COLOR: #ECF9FC;">
        <td rowspan="7" >
                <div runat="server" id="div_Content" style="width:100%; height:100%; margin-top:3px;">
                </div>
                <asp:Button ID="btn_Word" runat="server" Text="结果导出到Word" 
                    onclick="btn_Word_Click" Visible="false" />
            </td>
            <td align="right">作 业 井 号：</td>
            <td><asp:TextBox ID="txt_JH" runat="server"></asp:TextBox></td>
        </tr>
        <tr style="BACKGROUND-COLOR: #ECF9FC;">
            <td align="right">压井液密度 ：</td>
            <td><asp:TextBox ID="txt_WJYMD" runat="server"></asp:TextBox>g/cm³</td>
        </tr>
        <tr style="BACKGROUND-COLOR: #ECF9FC;">
            
            <td align="right">井&nbsp;&nbsp;&nbsp; 深：</td>
            <td><asp:TextBox ID="txt_JS" runat="server"></asp:TextBox>m</td>
        </tr>
        <tr style="BACKGROUND-COLOR: #ECF9FC;">
            <td align="right">安 全 压 力：</td>
            <td><asp:TextBox ID="txt_AQYL" runat="server" onblur="check()"></asp:TextBox>MPa</td>
            <script type="text/javascript">
                function check() {
                    var aqyl = document.getElementById("txt_AQYL").value;
                    if (aqyl < 7) {
                        alert("安全压力数值范围为：>=7MPa");
                    }
                }
            </script>
        </tr>
        <tr style="BACKGROUND-COLOR: #ECF9FC;">
            
            <td align="right">温&nbsp;&nbsp;&nbsp; 度：</td>
            <td><asp:TextBox ID="txt_WD" runat="server"></asp:TextBox>℃</td>
        </tr>
        <tr style="BACKGROUND-COLOR: #ECF9FC;">
            <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button 
                    ID="btn" runat="server" Text="计算" Width="100px" Height="30px" 
                    onclick="btn_Click" /></td>
       </tr>
    </table>
    <asp:Label ID="lbl_err" runat="server" ForeColor="Red"></asp:Label>
    </form>
</body>
</html>
